<?
include('../tools/form.php');
include('../head.php');
$kode=$_GET['kode'];
$result= select_table('mst_user', '2','id',"$kode");//untuk Kode di sesuaikan dengan table cth kd_siswa
while($row = mysql_fetch_array($result)){
$id=$row['id'];
$user_name=$row['user_name'];
$password=$row['password'];
$email=$row['email'];
}
form_buka('mst_user_edit_submit.php');
//============================= Judul Form ========================
judul('Form Input Mst User');
//============================= Isi Form ==========================
?> <table style='width:100%;' > <tr> <td> <?input(' Id','id',"value='$id'");?>
</td> <td> <?input(' User Name','user_name',"value='$user_name'");?>
</td> </tr>
<tr> <td> <?input(' Password','password',"value='$password'");?>
</td> <td> <?input(' Email','email',"value='$email'");?>
</td> </tr>
<tr><td colspan='2' align='center' > <br> <? button('submit','Simpan'); button('reset','Kosong');?> </td></tr></table><? //============================= Button ============================
form_tutup(); ?> 